package com.cn.service;

import com.cn.dao.BookDao;
import com.cn.dao.BookDaoImpl;

public class BookServiceImpl implements BookService{
    private BookDao bookDao;

    public void setBookDao(BookDao bookDao) {
        this.bookDao = bookDao;
    }

    @Override
    public void save() {
        System.out.println("Book service save ...");
        bookDao.save();
    }

    public void hello(){
        System.out.println("你好");
    }

}
